package com.cloud.businesscomment.service;

/**
 * author : 黄永佳
 * create : 2019/10/15 0015 10:35
 * modified :
 * 功能 :
 **/
public class Level {
    public static String Role(int credit){
        if(credit>0&&credit<60){
            return "不合格";
        }else if(credit>=60&&credit<70){
            return "合格";
        }else if(credit>=70&&credit<80){
            return "良好";
        }else if(credit>=80&&credit<90){
            return "优秀";
        }else {
            return "极好";
        }
    }
}
